package com.musemun.pojo.Vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/5/8
 */
@Data
@ContentRowHeight(140)
@EqualsAndHashCode(callSuper = false)
public class CropifoVo implements Serializable {
    @ApiModelProperty(value = "文物编号")
    @ExcelProperty("文物编号")
    @ColumnWidth(25)
    private Long crNo;

    @ColumnWidth(9)
    @ApiModelProperty(value = "工号")
    @ExcelProperty("工号")
    private Integer eeNo;

    @ColumnWidth(25)
    @ApiModelProperty(value = "操作类型")
    @ExcelProperty("操作类型")

    private String opType;

    @ColumnWidth(25)
    @ApiModelProperty(value = "操作时间")
    @ExcelProperty("操作时间")

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )//数据库导出页面时json格式化
    private Date opDate;




}
